package com.yulan.fastkillcourse.model;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

@Data
@AllArgsConstructor
@ToString
@Builder
@TableName("course_discuss")
public class CourseDiscuss {

    @TableId(value = "did", type = IdType.AUTO)
    private int did;
    @NotBlank
    private int cid;
    @NotBlank
    private int uid;
    @NotBlank
    private int score;
    @NotBlank
    private String discuss;
}
